#ifndef NETWORKABSTRACTGETIMAGEREQUEST_H
#define NETWORKABSTRACTGETIMAGEREQUEST_H

#include "networkgetrequest.h"


namespace Network {
class GetImageResponse;
class AbstractGetImageRequest : public Network::GetRequest
{
    Q_OBJECT
public:
    explicit AbstractGetImageRequest(QObject *parent = 0);

public:
    virtual const Network::Response &imageResponse() const = 0;

public:
    const Network::Response &response() const;

private:
    Network::Response &response();

private:
    virtual Network::Response &imageResponse() = 0;
};

} // namespace Network

#endif // NETWORKABSTRACTGETIMAGEREQUEST_H
